package cn.ht.jywrwater.module.ht.controller.admin.waterstation.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 供水站 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class WaterStationBaseVO {

    @Schema(description = "编号")
    private String stationCode;

    @Schema(description = "名称", example = "王五")
    private String stationName;

    @Schema(description = "地址描述")
    private String address;

    @Schema(description = "取水量")
    private Double waterYield;

    @Schema(description = "供水人口")
    private Double waterPopulation;

    @Schema(description = "工程水源")
    private String waterSource;

    @Schema(description = "建厂年份")
    private String stationTime;

    @Schema(description = "纬度")
    private BigDecimal lat;

    @Schema(description = "经度")
    private BigDecimal lng;

    @Schema(description = "覆盖范围")
    private String coverageArea;

    @Schema(description = "负责人")
    private String personCharge;

    @Schema(description = "联系电话")
    private String customerTel;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态不能为空")
    private Byte useStatus;

    @Schema(description = "备注", example = "你猜")
    private String remark;

}
